﻿ <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table>
	<tr>
		<td width="100%" colspan="9" align="right"><a
			href="<c:url value="${rmName}/1"/>">首页|</a> <c:choose>
				<c:when test="${pageNo-1 ge 1}">
					<a href="<c:url value="${rmName}/${pageNo-1}"/>">上一页|</a>
				</c:when>

			</c:choose> 
			
			<c:forEach var="i" begin="${startPageNum}" end="${endPageNum}">
			
				<a href="<c:url value="${rmName}/${i}"/>">
				<c:if test="${i == pageNo}"><b>[${i }]</b></c:if>
				<c:if test="${i != pageNo}">[${i }]</c:if>
				</a>&nbsp;
				
  			</c:forEach> 
  
  <c:choose>
				<c:when test="${pageNo+1 le totalPages}">
					<a href="<c:url value="${rmName}/${pageNo+1}"/>">下一页|</a>
				</c:when>

			</c:choose> <a href="<c:url value="${rmName}/${totalPages}"/>">末页</a>
			第${pageNo}页/共${totalPages}页</td>
	</tr>
</table>